package com.anp.business.repository;

import com.anp.business.entity.ZhCertify;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @author yicky zhang
 * @create 2018-09-11 上午10:51
 * @desc
 **/

public interface ZhCertifyRepository extends JpaRepository<ZhCertify, String> {
    @Query(nativeQuery = true, value = "select * from t_zh_certify limit ?1")
    List<ZhCertify> getLimit200(Integer limit);
}
